archive/tar.Format.has (method)

15 uses

	archive/tar (current package)
		common.go#L519: 		if wantFormat.has(FormatPAX) && !preferPAX {
		format.go#L108: func (f Format) has(f2 Format) bool   { return f&f2 != 0 }
		format.go#L120: 		if f.has(f2) {
		format.go#L208: 	case format.has(formatV7):
		format.go#L210: 	case format.has(FormatGNU):
		format.go#L213: 	case format.has(formatSTAR):
		format.go#L217: 	case format.has(FormatUSTAR | FormatPAX):
		reader.go#L167: 			if format.has(FormatUSTAR) && format.has(FormatPAX) {
		reader.go#L401: 		case format.has(FormatUSTAR | FormatPAX):
		reader.go#L417: 		case format.has(formatSTAR):
		reader.go#L422: 		case format.has(FormatGNU):
		writer.go#L99: 	case allowedFormats.has(FormatUSTAR):
		writer.go#L102: 	case allowedFormats.has(FormatPAX):
		writer.go#L105: 	case allowedFormats.has(FormatGNU):